-- GENERATED SPELL FOR [Rockjaw Skullthumper] --


function spell0_1115(pUnit, Event) --@Head Crack,n/a--
pUnit:FullCastSpellOnTarget(3148,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_1115', 20310, 1)
end

function Sorts_1115(pUnit, Event)
local choix_sorts_1115 = math.random(0, 0)
if choix_sorts_1115 == 0 then
pUnit:RegisterEvent('spell0_1115', 1, 1)
end
end

function mob1115_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_1115', math.random(1500, 3000), 1)
end

function mob1115_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1115_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1115_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(1115, 1, 'mob1115_Action')
RegisterUnitEvent(1115, 2, 'mob1115_Leave')
RegisterUnitEvent(1115, 3, 'mob1115_Kill')
RegisterUnitEvent(1115, 4, 'mob1115_Die')
